from PhylogeneticProfile import PPCalculator

MethodToCalculator = {'Phylogenetic Profile': PPCalculator}

def method(method, db):
    method_instance = MethodToCalculator[method](db)
    
    return method_instance